_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss, _ffff_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss, _ssss_tttt_aaaa_tttt_vvvv_ffff_ssss_6666_4444, _ffff_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss_6666_4444 - get file system information
The following flags can be returned in the _ffff______ffff_llll_aaaa_gggg field:
ST_RDONLY 0x00000001 /* read-only file system */
ST_NOSUID 0x00000002 /* does not support setuid/setgid
semantics */
ST_NOTRUNC 0x00000004 /* does not truncate file names
longer than {NAME_MAX} */
ST_NODEV 0x20000000 /* disallow opening of device files */
ST_GRPID 0x40000000 /* group-ID assigned from directory */
ST_LOCAL 0x80000000 /* local filesystem, for find */
_ffff_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss is similar to _ssss_tttt_aaaa_tttt_vvvv_ffff_ssss, except that the file named by _p_a_t_h in
_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss is instead identified by an open file descriptor _f_i_l_d_e_s obtained
from a successful _oooo_pppp_eeee_nnnn, _cccc_rrrr_eeee_aaaa_tttt, _dddd_uuuu_pppp, _ffff_cccc_nnnn_tttt_llll, or _pppp_iiii_pppp_eeee system call.
_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss_6666_4444 and _ffff_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss_6666_4444 are similar to _ssss_tttt_aaaa_tttt_vvvv_ffff_ssss and _ffff_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss
respectively, except that the structure fields _ffff______bbbb_llll_oooo_cccc_kkkk_ssss, _ffff______bbbb_ffff_rrrr_eeee_eeee,
_ffff______bbbb_aaaa_vvvv_aaaa_iiii_llll, _ffff______ffff_iiii_llll_eeee_ssss, _ffff______ffff_ffff_rrrr_eeee_eeee, and _ffff______ffff_aaaa_vvvv_aaaa_iiii_llll are 64-bit values instead of
_uuuu_llll_oooo_nnnn_gggg______tttts. The block-count fields are of type _bbbb_llll_kkkk_cccc_nnnn_tttt______tttt and the file-count
fields are of type _ffff_iiii_llll_cccc_nnnn_tttt______tttt. These fields can normally overflow in a
non-64-bit call only in a 32-bit application on an XFS filesystem whose
size is larger than 1 terabyte.
For XFS filesystems with real-time subvolumes (see xfs(4)), the
_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss(2) system call returns information concerning the data portion of
the filesystem only. The _ssss_yyyy_ssss_ssss_gggg_iiii(2) system call with the
SGI_XFS_FSOPERATIONS request argument can be used to acquire information
concerning the size and usage of space within the real-time portion of
the filesystem.
The SSSSTTTT____LLLLOOOOCCCCAAAALLLL flag is off for regular files which are also swap files,
since they cannot be read even if permissions allow it. This allows
programs to detect this situation without trying to read data from such
files.
_ssss_tttt_aaaa_tttt_vvvv_ffff_ssss fails if one or more of the following are true:
_EEEE_AAAA_CCCC_CCCC_EEEE_SSSS Search permission is denied on a component of the path
prefix.
_EEEE_FFFF_AAAA_UUUU_LLLL_TTTT _p_a_t_h or _b_u_f points outside the process's allocated address
space.
_EEEE_IIII_NNNN_TTTT_RRRR A signal was caught during _ssss_tttt_aaaa_tttt_vvvv_ffff_ssss execution.
_EEEE_IIII_OOOO An I/O error occurred while reading the file system.
_EEEE_LLLL_OOOO_OOOO_PPPP Too many symbolic links were encountered in translating